package org.edu.modules.research.rproject.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-科研项目工作文件表（文件协同）
 */
@TableName
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="科研项目工作文件表（文件协同）对象", description="ve_jky_project_work_file")
public class VeJkyProjectWorkFile extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "项目id")
    private Integer projectId;

    @TableField
    @ApiModelProperty(value = "工作id")
    private Integer workId;

    @TableField
    @ApiModelProperty(value = "文件名称")
    @Length(max = 100)
    private String name;

    @TableField
    @ApiModelProperty(value = "文件存储id")
    private Integer fileId;

    @TableField
    @ApiModelProperty(value = "文件添加")
    private Integer createTime;

    @TableField
    @ApiModelProperty(value = "更新时间")
    private Integer updateTime;

    @TableField
    @ApiModelProperty(value = "用户id")
    private Integer jkyUserId;
}
